package model
{
	import ricky.scene.MapData;
	
	public class EditeMapData extends MapData
	{
		public function EditeMapData()
		{
			super();
		}
		/** 本地跟路径 用于编辑器 */
		public var nativePath:String;
		
//		/**
//		 * 出生地点
//		 */
//		public override function set bornPosition(value:String):void
//		{
//			_bornPosition=value;
//		}
//		
//		public  function get bornPosition():String
//		{
//			return _bornPosition;
//		}
//		
//		private var _bornPosition:String;
		
		/**
		 * 从原始数据克隆数据
		 */
		public function cloneFrom(map:MapData):void
		{
			this.col=map.col;
			this.data=map.data;
			this.discription=map.discription;
			this.gridHeight=map.gridHeight;
			this.gridWidth=map.gridWidth;
			this.height=map.height;
			this.mapURLPath=map.mapURLPath;
			this.name=map.name;
			this.row=map.row;
			this.smallMapURL=map.smallMapURL;
			this.titleHeight=map.titleHeight;
			this.titleWidth=map.titleWidth;
			this.width=map.width;
			this.data=map.data;
			this.monster=map.monster;
			this.aiScript=map.aiScript;
			this.bornRect=map.bornRect;
		}
	}
}